package com.dfec.book.service.impl;

import com.dfec.book.dao.BookDao;
import com.dfec.book.service.BookStatService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author tangrg
 * @email 1446232546@qq.com
 * @date 2025-06-2025/6/20 14:06:32
 */

@Service
public class BookStatServiceImpl implements BookStatService {

    @Resource
    private BookDao bookDao;

    @Override
    public List<Map<String, Object>> bookInfoDatas() {
        return bookDao.bookInfoDatas();
    }

    @Override
    public List<Map<String, Object>> borrowingInfoDatas() {
        return bookDao.borrowingInfoDatas();
    }

    @Override
    public List<Map<String, Object>> categoryBorrowingDatas() {
        return bookDao.categoryBorrowingDatas();
    }

    @Override
    public List<Map<String, Object>> bookBorrowingDatas() {
        return bookDao.bookBorrowingDatas();
    }

    @Override
    public List<Map<String, Object>> userBookBorrowingDatas() {
        return bookDao.userBookBorrowingDatas();
    }
}
